# $Id: $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>

pkgname=qca-ossl
pkgver=2.0.0
_pkgver=2.0.0-beta3
pkgrel=6
pkgdesc="Qt Cryptographic Architecture"
arch=('i686' 'x86_64')
url="http://delta.affinix.com/qca/"
license=('LGPL')
depends=('qca')
makedepends=('icu')
source=("http://delta.affinix.com/download/qca/2.0/plugins/${pkgname}-${_pkgver}.tar.bz2"
        'no-whirlpool.patch')
md5sums=('bdc62c01321385c7da8d27b3902910ce'
         '1be7ee2e5f32733b90452fb46b9c69f9')

build() {
	cd $srcdir/${pkgname}-${_pkgver}
	patch -p1 -i $srcdir/no-whirlpool.patch
	./configure \
		--release \
		--no-separate-debug-info
	make
}

package() {
	cd $srcdir/${pkgname}-${_pkgver}
	make INSTALL_ROOT=$pkgdir install
}
